package day04;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/2/15
 **/
public class ForDemo {
    public static void main(String[] args) {
        for (int times = 1; times <=9; times++) {
            System.out.println(times + " x 9 = " + times * 9);
        }
        for (int times = 1; times <= 9; times+=2) {
            System.out.println(times + " x 9 = " + times * 9);
        }
        for (int times = 9; times >= 1 ; times--) {
            System.out.println(times + " x 9 = " + times * 9);
        }
        for (int times = 0; times < 5; times++) {
            System.out.println("行动是成功的阶梯");
        }
            //  times=0  true  输出
            //  times=1  true  输出
            //  times=2  true   输出
            //  times=3  true   输出
            //  times=4  true   输出
            //  times=5  false   循环结束













    }
}
